

#ifndef _SHELL_RESMAILS_MESSAGE_H_
#define _SHELL_RESMAILS_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include <vector>
//#include "MailBean.h"
using namespace std;

class ResMailsMessage : public Message
{
	public:
	ResMailsMessage();
	~ResMailsMessage();
	void reset();
	ResMailsMessage* clone();
	static const int _ID;
	//玩家所有邮件
	vector<MailBean*> mailBeans;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
